<template>
	<scroll-view scroll-y class="public-scroll-view">
		<view class="log-container">
			<button @click="log()">log</button>
			<button @click="infoLog()" type="primary">info</button>
			<button @click="warnLog()" type="warn" plain="true">warn</button>
			<button @click="errorLog()" type="warn">error</button>
		</view>
	</scroll-view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			log(){
				console.log("log");
			},
			infoLog(){
				console.info("info");
			},
			warnLog(){
				console.warn("warn");
			},
			errorLog(){
				console.error("error");
			},
		}
	}
</script>

<style>
.log-container{
	padding-top: 30rpx;
}
.log-container>button{
	margin-top: 20rpx;
	width: 90%;
}
</style>
